package com.vegetable.modules.service.finance.impl;

import cn.hutool.core.collection.CollectionUtil;
import com.alibaba.fastjson.JSONObject;
import com.vegetable.common.utils.HttpUtil;
import com.vegetable.modules.entity.sys.SysUserEntity;
import com.vegetable.modules.service.finance.IPSBCService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class PSBCServiceImpl implements IPSBCService {
    private static final String url = "https://test-api-open.chinaums.com/v1/itp/acct-check";

    public void takeInfo() throws Exception {
        JSONObject params = new JSONObject();
        params.put("mobile", "userMobile");
        String res = HttpUtil.post(url, params.toJSONString());
        JSONObject jsonObject = JSONObject.parseObject(res);
    }
}
